home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Examples
/
More Examples
/
Muting instruments in sections
< prev
next >
Wrap
Text File
|
1998-10-26
|
1KB
|
53 lines
; muting instruments in sections using rest symbol
(def-grammar 'structure
all-sections (sect-a sect-b)
)
(def-orchestra 'orchestra
all-instruments (piano1 piano2)
)
(def-section sect-a
default
tempo-zones '(1/2 1/2 1/1 1/1 1/1)
zone '(1/1 1/1 1/1 1/1)
tempo '(200 170 100 150 175) ; tempos for each tempo zone
tonality (activate-tonality (major c 4))
length '(1/8)
velocity '(64)
piano1
channel 1
symbol '(a b c)
program '(1)
piano2
channel 2
symbol '(=)
program '(46)
)
(def-section sect-b
default
tempo-zones '(1/2 1/2 1/1 1/1 1/1)
zone '(1/1 1/1 1/1 1/1)
tempo '(200 170 100 150 175) ; tempos for each tempo zone
tonality (activate-tonality (major c 4))
length '(1/8)
velocity '(64)
piano1
channel 1
symbol '(=)
program '(1)
piano2
channel 2
symbol '(ace)
program '(46)
)
(midiport :printer)
(play-file-p nil
all-instruments '(all-sections)
)